package chapter6.section6;

//程序6-5d：多态性的程序 
public class FlowerDemo {
	public static void main(String[] args) {
		Flower f = new Rose();
		f.bloom();
		f = new Lily();
		f.bloom();
	}
}
